<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags" prefix="s" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>


<head>
	
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>新增或修改网元型号</title>
	<style type="text/css">
		.right{
			text-align: right;
		}
	</style>
</head>

<body>
	<form:form id="devModelForm" method="post" modelAttribute="devModel" cssClass="form-horizontal">
		<form:hidden path="modelId"/>
		<div class="row">
			<div class="span5">
				<div class="control-group ">
					<form:label cssClass="control-label" for="modelName" path="modelName" >网元型号</form:label>
					<div class="controls">
						<form:input id="modelName" path="modelName" class="input-medium" check-type="required" required-message="网元型号不能为空!" />
					</div>
				</div>
			</div>
			<div class="span4">
				<div class="control-group ">
					<form:label cssClass="control-label" for="typeId" path="typeId" >网元类型</form:label>
					<div class="controls">
						<form:select id="typeId" path="typeId" class="input-medium" check-type="required" required-message="网元类型不能为空!">
							<form:option value="">请选择</form:option>
							<c:forEach var="item" items="${neTypeList}">
								<form:option value="${item.dictItemCode}">${item.dictItemName}</form:option>
							</c:forEach>
						</form:select>
					</div>
				</div>
			</div>
		</div>
		
		<div class="row">
			<div class="span5">
				<div class="control-group ">
					<form:label cssClass="control-label" for="manufactoryId" path="manufactoryId" >厂商</form:label>
					<div class="controls">
						<form:select id="manufactoryId" path="manufactoryId" class="input-medium">
							<form:option value="">请选择</form:option>
							<c:forEach var="item" items="${mfrsItemList}">
								<form:option value="${item.dictItemCode}">${item.dictItemName}</form:option>
							</c:forEach>
						</form:select>
					</div>
				</div>
			</div>
			<div class="span4">
				<div class="control-group ">
					<form:label cssClass="control-label" for="oldName" path="oldName">默认用户名</form:label>
					<div class="controls">
						<form:input id="oldName" path="oldName" class="input-medium"/>
					</div>
				</div>
			</div>
		</div>
		
		<div class="row">
			<div class="span5">
				<div class="control-group ">
					<form:label cssClass="control-label" for="oldPwd" path="oldPwd" >默认密码</form:label>
					<div class="controls">
						<form:input id="oldPwd" path="oldPwd" class="input-medium"/>
					</div>
				</div>
			</div>
			<div class="span4">
				<div class="control-group ">
					<form:label cssClass="control-label" for="nmVlanId" path="nmVlanId" >网管VLANID</form:label>
					<div class="controls">
						<form:input id="nmVlanId" path="nmVlanId" class="input-medium"/>
					</div>
				</div>
			</div>
		</div>
		
		<div class="row">
			<div class="span5">
				<div class="control-group ">
					<form:label cssClass="control-label" for="biVlanId" path="biVlanId" >业务VLANID</form:label>
					<div class="controls">
						<form:input id="biVlanId" path="biVlanId" class="input-medium"/>
					</div>
				</div>
			</div>
			<div class="span4">
				<div class="control-group ">
					<form:label cssClass="control-label" for="loginPrompt" path="loginPrompt" >登陆用户名提示符</form:label>
					<div class="controls">
						<form:input id="loginPrompt" path="loginPrompt" class="input-medium"/>
					</div>
				</div>
			</div>
		</div>
		
		<div class="row">
			<div class="span5">
				<div class="control-group ">
					<form:label cssClass="control-label" for="pwdPrompt" path="pwdPrompt" >登陆密码提示符</form:label>
					<div class="controls">
						<form:input id="pwdPrompt" path="pwdPrompt" class="input-medium"/>
					</div>
				</div>
			</div>
			<div class="span4">
				<div class="control-group ">
					<form:label cssClass="control-label" for="commandPrompt" path="commandPrompt" >登陆成功提示符</form:label>
					<div class="controls">
						<form:input id="commandPrompt" path="commandPrompt" class="input-medium"/>
					</div>
				</div>
			</div>
		</div>
		
		<div class="row">
			<div class="span5">
				<div class="control-group ">
					<form:label cssClass="control-label" for="enablePwd" path="enablePwd" >中兴ENABLE密码</form:label>
					<div class="controls">
						<form:input id="enablePwd" path="enablePwd" class="input-medium"/>
					</div>
				</div>
			</div>
			<div class="span4">
				<div class="control-group ">
					<form:label cssClass="control-label" for="enablePrompt" path="enablePrompt" >中兴ENABLE密码成功提示符</form:label>
					<div class="controls">
						<form:input id="enablePrompt" path="enablePrompt" class="input-medium"/>
					</div>
				</div>
			</div>
		</div>
		
		<div class="row">
			<div class="span5">
				<div class="control-group ">
					<form:label cssClass="control-label" for="l2VEthName" path="l2VEthName" >二层接入虚拟端口前缀</form:label>
					<div class="controls">
						<form:input id="l2VEthName" path="l2VEthName" class="input-medium"/>
					</div>
				</div>
			</div>
			<div class="span4">
				<div class="control-group ">
					<form:label cssClass="control-label" for="l3VEthName" path="l3VEthName" >三层接入虚拟端口前缀</form:label>
					<div class="controls">
						<form:input id="l3VEthName" path="l3VEthName" class="input-medium"/>
					</div>
				</div>
			</div>
		</div>
		
		<div class="row">
			<div class="span5">
				<div class="control-group ">
					<form:label cssClass="control-label" for="ctpNamePre" path="ctpNamePre" >CTP名称前缀</form:label>
					<div class="controls">
						<form:input id="ctpNamePre" path="ctpNamePre" class="input-medium"/>
					</div>
				</div>
			</div>
		</div>
	</form:form>
	<div class="alert" style="visibility: hidden;width: 55px;margin-left: 30%;"/>
</body>
</html>